﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: FavoriteEntity.cs
// 修改时间：2020-9-8 10:40:02
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：Favorite 的实体类.
	/// </summary>
	[Table("Favorite")]
	public partial class FavoriteEntity
	{
		#region Properties
		private int? _favoriteID = 0;
		/// <summary>
		/// 收藏ID(主键)
		/// </summary>
		[Column("FavoriteID",TypeName="int")]
		[Key]
		public int? FavoriteID
		{
			get {return _favoriteID;}
			set {_favoriteID = value;}
		}
		
		private int? _userID = 0;
		/// <summary>
		/// 用户ID
		/// </summary>
		[Column("UserID",TypeName="int")]
		public int? UserID
		{
			get {return _userID;}
			set {_userID = value;}
		}
		
		private int? _infoID = 0;
		/// <summary>
		/// 内容信息ID
		/// </summary>
		[Column("InfoID",TypeName="int")]
		public int? InfoID
		{
			get {return _infoID;}
			set {_infoID = value;}
		}
		
		private DateTime? _favoriteTime = null;
		/// <summary>
		/// 收藏时间
		/// </summary>
		[Column("FavoriteTime",TypeName="datetime")]
		public DateTime? FavoriteTime
		{
			get {return _favoriteTime;}
			set {_favoriteTime = value;}
		}
		
		#endregion
	}
}
